package org.jeecg.modules.pipe.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.jeecg.modules.pipe.entity.WaterPlant;
import org.jeecg.modules.pipe.mapper.WaterPlantMapper;
import org.jeecg.modules.pipe.service.IWaterPlantService;
import org.jeecg.modules.pipe.vo.PipeMarkerVo;
import org.jeecg.modules.pipe.vo.PipeQueryVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Description: 水厂
 * @Author: jeecg-boot
 * @Date:   2024-05-14
 * @Version: V1.0
 */
@Service
public class WaterPlantServiceImpl extends ServiceImpl<WaterPlantMapper, WaterPlant> implements IWaterPlantService {

    @Autowired
    private WaterPlantMapper waterPlantMapper;

    /**
     * 获取水厂marker
     * @param queryVo
     * @return
     */
    @Override
    public List<PipeMarkerVo> getWaterPlantMarker(PipeQueryVo queryVo) {
        return waterPlantMapper.getWaterPlantMarker(queryVo);
    }
}
